package chapter14;

import java.util.ArrayList;
import java.util.Vector;

/**
 * description :
 * author Ahang :
 * create : 2025-10-30 21:23
 */
public class IterableMethod {
    public static void main(String[] args) {
        ArrayList<Integer> list = new ArrayList<>();
        list.add(1);
        list.add(2);
        list.add(3);
        list.add(4);
        for (Integer i : list) {
            System.out.println("i = " + i);
        }

    }
}
